// 传感器分类
export const SensorClass = {
    1: '&#xe619;',      // 水害
    2: '&#xe618;',      // 瓦斯
    3: '&#xe60e;',      // 矿压
}

// 传感器类型
export const SensorType = {
    '0001': '&#xe618;',
    '0002': '&#xe616;',
    '0003': '&#xe612;',
    '0004': '&#xe61b;',
    '0013': '&#xe60f;',
    '0012': '&#xe61a;',
    '1011': '&#xe610;',
    '1101': '&#xe624;',
    '1301': '&#xe626;',
    '1302': '&#xe626;',
    '1401': '&#xe62c;',
    '1201': '&#xe628;',
    '1601': '&#xe613;',
    '1602': '&#xe613;',
    '1603': '&#xe613;',
    '1604': '&#xe613;',
    '1605': '&#xe613;',
    '1606': '&#xe613;',
    '1607': '&#xe613;',
    '1608': '&#xe613;',
    '1609': '&#xe613;',
    '1801': '&#xe623;',
    '1802': '&#xe623;',
    '0501': '&#xe622;',
    '0502': '&#xe619;',
    '0503': '&#xe61f;',
    '0504': '&#xe61e;',
    '0505': '&#xe61d;',
    '0607': '&#xe629;',
    '0701': '&#xe612;',
    '0702': '&#xe612;'
}

// 传感器类型unicode
export const SensorTypeU = {
    '0001': '\ue618',
    '0002': '\ue616',
    '0003': '\ue612',
    '0004': '\ue61b',
    '0013': '\ue60f',
    '0012': '\ue61a',
    '1011': '\ue610',
    '1101': '\ue624',
    '1301': '\ue626',
    '1302': '\ue626',
    '1401': '\ue62c',
    '1201': '\ue628',
    '1601': '\ue613',
    '1602': '\ue613',
    '1603': '\ue613',
    '1604': '\ue613',
    '1605': '\ue613',
    '1606': '\ue613',
    '1607': '\ue613',
    '1608': '\ue613',
    '1609': '\ue613',
    '1801': '\ue623',
    '1802': '\ue623',
    '0501': '\ue622',
    '0502': '\ue619',
    '0503': '\ue61f',
    '0504': '\ue61e',
    '0505': '\ue61d',
    '0607': '\ue629',
    '0701': '\ue612',
    '0702': '\ue612'
}

// 传感器状态
export const SensorStatus = {
    0: 'green',             // 正常
    1: 'red',               // 报警
    2: 'gray',              // 未知
    4: 'orange',            // 分站故障
    8: 'orange',            // 传感器故障
    16: 'blue',             // 蓝色预警
    32: 'yellow',           // 黄色预警
    64: 'orange',           // 橙色预警
    128: 'red'              // 红色预警
}

// 传感器类型，对应的gis图标
export const SensorTypeDict =
    {
        "温度":
            {
                "typename": "温度",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "断馈电":
            {
                "typename": "断馈电",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "风筒风量":
            {
                "typename": "风筒风量",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "开停":
            {
                "typename": "开停",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "烟雾":
            {
                "typename": "烟雾",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "安全监控分站":
            {
                "typename": "安全监控分站",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "电源箱":
            {
                "typename": "电源箱",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "监控分站":
            {
                "typename": "监控分站",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "甲烷":
            {
                "typename": "甲烷",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "水位":
            {
                "typename": "水位",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "一氧化碳":
            {
                "typename": "一氧化碳",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "二氧化碳":
            {
                "typename": "二氧化碳",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "温湿度(湿度)":
            {
                "typename": "温湿度(湿度)",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "氧气":
            {
                "typename": "氧气",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "风速":
            {
                "typename": "风速",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "风门":
            {
                "typename": "风门",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "粉尘":
            {
                "typename": "粉尘",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "负压":
            {
                "typename": "负压",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "微震传感器":
            {
                "typename": "微震传感器",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "瓦斯含量":
            {
                "typename": "瓦斯含量",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "瓦斯突出":
            {
                "typename": "瓦斯突出",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "支架阻力":
            {
                "typename": "支架阻力",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "顶板离层仪":
            {
                "typename": "顶板离层仪",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "锚索测力仪":
            {
                "typename": "锚索测力仪",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "激光测距":
            {
                "typename": "激光测距",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "顶板移近量":
            {
                "typename": "顶板移近量",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "立柱伸缩":
            {
                "typename": "立柱伸缩",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "支架倾角":
            {
                "typename": "支架倾角",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "钻孔应力":
            {
                "typename": "钻孔应力",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "电磁辐射":
            {
                "typename": "电磁辐射",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "钻屑测点":
            {
                "typename": "钻屑测点",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "电磁辐射测点":
            {
                "typename": "电磁辐射测点",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "长钻孔测点":
            {
                "typename": "长钻孔测点",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "供水量测点":
            {
                "typename": "供水量测点",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "排水量测点":
            {
                "typename": "排水量测点",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "水仓测点":
            {
                "typename": "水仓测点",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "密闭墙测点":
            {
                "typename": "密闭墙测点",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "降雨量测点":
            {
                "typename": "降雨量测点",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svg"
            }
        ,
        "default":
            {
                "typename": "降雨量测点",
                "imgpath": "/assets/images/safe_monitor/gas/sensorIcons/fencheng.svgd.ws.png"
            }
    }

